{% extends 'layout/base.html' %}
{% block title %} 图片 {% endblock %}
{% block main %}
<h1 class="h1">图片</h1>
<div class="row">
    {% include 'user/layout/left_sidebar.html' %}
    <div class="col-md-9">
        <div class="container">
            {% from 'bootstrap/form.html' import render_form %}
            {{ render_form(form) }}
            <hr>
            <div class="imgs">
                {% for img in imgs %}
                <span class="border" ><a target="_block" href="{{ img.url }} ">
                    <img src="{{ img.url }} " style="width: 10vw;">
                </a></span>
                {% endfor %}
            </div>
            <hr>
            {% from 'layout/next_page.html' import page_nav %}
            {{page_nav(pages, page, "user.upload_img")}}
            <div>
                {{count }}
            </div>
        </div>
    </div>
</div>
{% endblock %}